﻿using FreeSql.DataAnnotations;
using Newtonsoft.Json;

namespace IKnow.Server.Data
{
    [Table(Name = "request_parameter")]
    public class RequestParameterEntity
    {
        [Column(IsPrimary = true)]
        public long Id { get; set; }
        public string? Name { get; set; }
        public string? ParameterType { get; set; }
        public string? ControlType { get; set; }
        public string? Value { get; set; }
        public string? Label { get; set; }
        public long ApiEntityId { get; set; }
        [JsonIgnore]
        public ApiEntity? ApiEntity { get; set; }
    }
}